<?php

/**
 * @author Anh Nguyen <duyanhnguyen@vccorp.vn>
 * @copyright 2012
 */
if(isset($_GET['action']) && $_GET['action'] == 'load') {
    require_once 'includes/getPaginationLink.php';
    extract($_GET);
    $pagination = new getPaginationLink($totalQuery, $perPage, $numPageView);
    $pagination->setStylePagination($idPagi, $classActive, $classInactive);
    echo $pagination->renderLink($currentPage,$showButton, $showGoTo);
}
?>
